package io.renren.modules.canteens.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.canteens.dto.BatchOrderDTO;
import io.renren.modules.canteens.dto.BatchOrdermxDTO;
import io.renren.modules.canteens.entity.BatchOrderEntity;

import java.util.List;
import java.util.Map;

/**
 * 批量采购表
 *
* @author 翟文闯 619556390@QQ.com
 * @since 1.0.0 2020-01-03
 */
public interface BatchOrderService extends CrudService<BatchOrderEntity, BatchOrderDTO> {
  /* List<BatchOrderDTO> getBatchOrder(Long canteenId ,Long supplierId);*/
   BatchOrderDTO getTotalMoney(Long batchOrderId);
   PageData<BatchOrderDTO> getOrder(Map<String, Object> params);
   void saveOrder(BatchOrderDTO dto);
    Map getOrdermx(BatchOrderDTO dto);
    void updateDto(BatchOrderDTO dto);
}